@right-width: 450px;
@right-size: 450px;
.d3-tree-wrapper {
    height: 100%;
    position: relative;
    .right {
        background: #fff;
        overflow: hidden;
    }
    .d3-tree {
        overflow: hidden; // margin: 16px;
        position: absolute;
        left: 0px;
        right: 0px;
        top: 0px;
        bottom: 0px;
    }
    &.with-toggle {
        .d3-tree {
            top: 50px;
        }
    }
    &.with-right {
        .right {
            position: absolute;
            right: 0px;
            width: @right-width;
            display: block;
            margin-left: 8px;
            transition: 0.3s;
            top: 50px;
            bottom: 0px; // border-left: 1px solid #efefef;
            box-shadow: 0 9px 12px -2px rgba(39, 54, 78, 0.11);
            z-index: 100;
        }
        .d3-tree {
            height: e("calc(100% - 82px)");
            overflow: hidden; // margin: 16px;
            position: absolute;
            left: 0px;
            right: 0px; // margin-right: 8px;
        }
    }
    .node {
        cursor: pointer;
    }
    /* .link {
        fill: none;
        stroke: #ccc;
        stroke-width: 1.5px;
        &.link-selected {
            stroke: #2db7f5;
        }
        &-over {
            stroke: #2db7f5;
        }
    } */
    .node-selected {
        .node-rect {
            stroke: #2db7f5;
        }
    }
}

.edc-tree-memu-item {
    &:hover {
        background-color: #57c5f7;
        color: #fff;
    }
}

.d3-tree-add {
    position: absolute;
    border-radius: 50%;
    padding: 5px 8px;
    display: none;
}

.d3-tree-tips {
    &>div {
        -webkit-box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3);
        background: #fff;
        padding: 16px;
    }
    .tips-handle {
        cursor: pointer;
        &:hover {
            color: #2db7f5;
        }
    }
    .tips-opts {
        position: absolute;
        right: 10px;
        bottom: 10px;
        button {
            padding: 5px 8px;
            border-radius: 50%;
            margin-left: 10px;
        }
    }
}

.d3-tree-toggle {
    .ant-radio-button-wrapper-checked {
        background: #2db7f5;
        color: #fff;
    }
    .ant-radio-button-wrapper {
        border-radius: 0px;
        padding: 0px 8px;
    }
    .ant-radio-button-wrapper:first-child {
        border-radius: 3px 0px 0px 3px;
    }
    .ant-radio-button-wrapper:last-child {
        border-radius: 0px 3px 3px 0px;
    }
    .ant-btn-group,
    .ant-radio-group {
        padding: 10px 0px;
        margin-right: 10px;
        float: left;
        position: relative;
    }
    .ant-btn-group {
        .opt-btn {
            margin-right: 10px;
            &:last-child {
                margin-right: 0px;
            }
        }
        &.linked {
            .opt-btn {
                margin-right: 0px;
            }
        }
    }
    .opt-btn {
        padding: 4px 8px; // border-radius: 0px;
    }
}

.border-selection {
    position: fixed;
    border: 1px solid #2db7f5;
}


.wea-edc-path-designer {
    height: 100%;
    background: #ebedf0;
    position: relative;
    overflow: hidden;
    .tree-layout-toggle {
        position: absolute;
        z-index: 10;
        width: 100%;
        height: 50px;
        background: #fff;
        padding: 0px 16px;
        box-shadow: 1px 0 6px 0 rgba(39, 54, 78, 0.12);
        .edc-zoom-line {
            position: relative;
            float: left;
            padding: 10px 0px;
            margin-right: 10px;
            button,
            .ant-slider {
                float: left;
            }
            button {
                border-radius: 50%;
                padding: 0px 4px;
                border: 0px;
                font-size: 16px;
                &:not(:hover) {
                    color: #999;
                }
            }
            .ant-slider {
                width: 200px;
                margin-top: 3px;
            }
        }
    }
}

.border-selection {
    display: none;
}

.edc-node-form {
    height: 100%;
    width: 100%;
    .wea-form-item {
        padding: 8px 24px;
    }
    .toggle {
        width: 18px;
        height: 60px;
        position: absolute;
        top: 50%;
        left: 0px;
        margin-top: -80px;
        z-index: 11;
        cursor: pointer;
        background-size: 100% 100%;
        background: url("/cloudstore/resource/pc/com/images/leftTree-hide.png") no-repeat -2px 0;
        &:hover {
            background: url(/cloudstore/resource/pc/com/images/leftTree-hide-hover.png) no-repeat -2px 0;
        }
    }
    .reporttime {
        width:fit-content;
        width:-moz-fit-content;
        display: inline-block;
    }
    .saveTime {
        width:fit-content;
        width:-moz-fit-content;
        display: inline-block;
    }
    .wea-input-number {
        width: 70px;
    }
}

.edc-path-tree {
    overflow: hidden;
    position: absolute;
    top: 50px;
    bottom: 0px;
    margin: 10px;
    width: 100%;
    .react-resizable-handle {
        position: absolute;
        width: 10px;
        height: 100%;
        bottom: 0;
        right: 0px;
        cursor: col-resize;
    }
    &>.left,
    &>.right {
        position: relative;
        display: inline-block;
        height: 32px;
        margin: 0;
        padding: 0 15px;
        color: rgba(0, 0, 0, 0.65);
        line-height: 30px;
        border: 1px solid #d9d9d9;
        border-top-width: 1.02px;
        border-left: 0;
        cursor: pointer;
        -webkit-transition: color .3s, background .3s, border-color .3s;
        transition: color .3s, background .3s, border-color .3s;
        .d3-tree-wrapper>.right{
            top: 0px;
            right: -15px;
        }
      
    }
    &>.left {
        float: left;
        position: relative;
        border-left: 1px solid #d9d9d9;
        border-radius: 4px 0 0 4px;
    }
    &>.right {
        border-radius: 0 4px 4px 0;
    }
    &>.left,
    &>.right {
        &.checked {
            z-index: 1;
            color: #1890ff;
            background: #fff;
            border-color: #1890ff;
            -webkit-box-shadow: -1px 0 0 0 #1890ff;
            box-shadow: -1px 0 0 0 #1890ff;
        }
    }
}

.edc-path-node-form {
    padding: 10px 24px;
    .edc-node-setting {
        border: 1px solid #eaeaea;
        .edc-addNode-item-row {
            padding: 0px 18px 5px 18px;
        }
    }
    .edc-addNode-item-row {
        padding-bottom: 5px;
    }
    .edc-operator-group {
        border: 1px solid #eaeaea;
        margin-top: 10px;
        .itemCol {
            display: inline-block;
            vertical-align: middle;
            line-height: 32px;
            height: 32px;
            &.BROWSER {
                width: 200px;
            }
            &.SCOPE,
            &.SELECT,
            &.SELECT_LINKAGE {
                margin-left: 10px;
            }
            &.SELECT_LINKAGE {
                .wea-select-group {
                    display: inline-block;
                    width: 200px;
                    position: relative;
                }
            }
            .labelStyle {
                line-height: 32px;
                vertical-align: top;
            }
            .ant-select {
                vertical-align: top;
            }
        }
    }
    .edc-operator-table {
        border: 1px solid #eaeaea;
    }
  
}

.wea-slide-modal-content{
    height: 100%;
    width: 100%;
}

.d3-tree-wrapper.rodal-close{
    display: none;
}
.d3-tree-wrapper.wea-slide-modal-content {
    height: 100%;
    background: #fff;
}        
.d3-tree-wrapper.ant-spin-nested-loading{
    position: relative;
    height: 100%;
}
.d3-tree-wrapper.ant-spin-container{
    position: relative;
    zoom: 1;
    height: 100%;
}

.Prj-WeaSlideModal .wea-slide-modal {
    position: static!important;
    .rodal-fade-enter {
        position: absolute!important;
    }
}